package cn.autoOffice.mapper;

import cn.autoOffice.bean.pojo.Salary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//工资持久化层
public interface SalaryMapper {
    //员工查询个人工资
    List<Salary> findSalaryByEmployeeCode(@Param("employeeCode") Integer employeeCode);

    //财务人员添加工资信息
    boolean addSalaryInfo(Salary salary);
}
